<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    
    <title>登录</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <html:form action="/loginSubmit" method="post" focus="login">
      <table border="0">
      	<tr>
          <td colspan="2" align="center">用户登录</td>
        </tr>
        <tr>
          <td>用户名：</td>
          <td><html:text property="login" /><html:errors property="login" /></td>
        </tr>
        <tr>
          <td>密  码：</td>
          <td><html:password property="password" /><html:errors property="password" /></td>
        </tr>
        <tr>
          <td>验证码：</td>
          <td><html:text property="checkCode" /><img border="0" src="generateImage.jsp"/></td>
        </tr>
        <tr>
          <td colspan="2" align="center"><html:submit value="登录" /></td>
        </tr>
      </table>
    </html:form>
  </body>
</html:html>
